package com.atXiao.food.service;

import com.atXiao.food.reqbody.receipt.ReceiptDetailReq;
import com.atXiao.food.reqbody.receipt.ReceiptIconReq;
import com.atXiao.food.rspbody.recipe.ReceiptDetail;
import com.atXiao.food.rspbody.recipe.ReceiptIcon;

import java.util.List;

/**
 * @author: lixiaoxiao
 * @date: 2023/11/23 14:08
 * @version: 1.0
 * @desc:
 */
public interface ReceiptService {

    /**
     * 查询首页分类下的icon列表
     *
     * @param trace   流水号
     * @param iconReq
     * @return
     */
    List<ReceiptIcon> queryReceiptIconList(String trace, ReceiptIconReq iconReq);

    /**
     * 根据菜谱编号查询菜谱详情
     *
     * @param trace     流水号
     * @param detailReq
     * @return
     */
    ReceiptDetail queryReceiptDetailById(String trace, ReceiptDetailReq detailReq);


}
